
<ion-view class="barcodereplace-home-view" view-title="芯片更替">

    <ion-header-bar  class="bar-subheader ">
        <im-pull-right>
            <im-search class="barcodereplace-search-item" placeholder="原芯片ID" on-search="search(queryStr)"></im-search>
        </im-pull-right>
    </ion-header-bar>
    <ion-header-bar  class="bar-subheader barcodereplace-top">
        <im-card-header card-title="单品信息"></im-card-header>
        <div class="im-flow-container">
            <im-master-item class="im-flow-item" master-name="单号" 
                master-value="{{data.one.MOCode}}">
            </im-master-item>
            <im-master-item class="im-flow-item" master-name="型号" 
                master-value="{{data.one.Specification}}">
            </im-master-item>
            <im-master-item class="im-flow-item" master-name="作业" 
                master-value="{{data.one.WorkName}}">
            </im-master-item>
            <im-master-item class="im-flow-item" master-name="料号" 
                master-value="{{data.one.ItemMasterCode}}">
            </im-master-item>
            <im-master-item class="im-flow-item" master-name="批次" 
                master-value="{{data.one.MOLotNumber}}">
            </im-master-item>
            <im-master-item class="im-flow-item" master-name="名称" 
                master-value="{{data.one.ItemMasterName}}">
            </im-master-item>
        </div>
       
    </ion-header-bar>
    <ion-header-bar  class="bar-subheader barcodereplace-top2">
        <im-card-header card-title="绑定芯片"></im-card-header>
        <div class="im-flow-container">
            <div class="barcodereplace-item">
                {{data.newBarcode}}
            </div>
            <!-- <im-master-item class="im-flow-item barcodereplace-item" 
                master-value="{{data.one.MOCode}}">
            </im-master-item> -->
            
        </div>
       
    </ion-header-bar>
    <ion-content>
        
    </ion-content>
    <ion-footer-bar class="barcodereplace-home-footer">
        <im-pull-right>
            <button  ng-click="submitData()" class="button barcodereplace-button-judge">确认</button>
        </im-pull-right>
    </ion-footer-bar>
</ion-view>